package edu.xust.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PsManagerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public PsManagerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPidIsNull() {
            addCriterion("pid is null");
            return (Criteria) this;
        }

        public Criteria andPidIsNotNull() {
            addCriterion("pid is not null");
            return (Criteria) this;
        }

        public Criteria andPidEqualTo(String value) {
            addCriterion("pid =", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotEqualTo(String value) {
            addCriterion("pid <>", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThan(String value) {
            addCriterion("pid >", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThanOrEqualTo(String value) {
            addCriterion("pid >=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThan(String value) {
            addCriterion("pid <", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThanOrEqualTo(String value) {
            addCriterion("pid <=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLike(String value) {
            addCriterion("pid like", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotLike(String value) {
            addCriterion("pid not like", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidIn(List<String> values) {
            addCriterion("pid in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotIn(List<String> values) {
            addCriterion("pid not in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidBetween(String value1, String value2) {
            addCriterion("pid between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotBetween(String value1, String value2) {
            addCriterion("pid not between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andPmUnIsNull() {
            addCriterion("pm_un is null");
            return (Criteria) this;
        }

        public Criteria andPmUnIsNotNull() {
            addCriterion("pm_un is not null");
            return (Criteria) this;
        }

        public Criteria andPmUnEqualTo(String value) {
            addCriterion("pm_un =", value, "pmUn");
            return (Criteria) this;
        }

        public Criteria andPmUnNotEqualTo(String value) {
            addCriterion("pm_un <>", value, "pmUn");
            return (Criteria) this;
        }

        public Criteria andPmUnGreaterThan(String value) {
            addCriterion("pm_un >", value, "pmUn");
            return (Criteria) this;
        }

        public Criteria andPmUnGreaterThanOrEqualTo(String value) {
            addCriterion("pm_un >=", value, "pmUn");
            return (Criteria) this;
        }

        public Criteria andPmUnLessThan(String value) {
            addCriterion("pm_un <", value, "pmUn");
            return (Criteria) this;
        }

        public Criteria andPmUnLessThanOrEqualTo(String value) {
            addCriterion("pm_un <=", value, "pmUn");
            return (Criteria) this;
        }

        public Criteria andPmUnLike(String value) {
            addCriterion("pm_un like", value, "pmUn");
            return (Criteria) this;
        }

        public Criteria andPmUnNotLike(String value) {
            addCriterion("pm_un not like", value, "pmUn");
            return (Criteria) this;
        }

        public Criteria andPmUnIn(List<String> values) {
            addCriterion("pm_un in", values, "pmUn");
            return (Criteria) this;
        }

        public Criteria andPmUnNotIn(List<String> values) {
            addCriterion("pm_un not in", values, "pmUn");
            return (Criteria) this;
        }

        public Criteria andPmUnBetween(String value1, String value2) {
            addCriterion("pm_un between", value1, value2, "pmUn");
            return (Criteria) this;
        }

        public Criteria andPmUnNotBetween(String value1, String value2) {
            addCriterion("pm_un not between", value1, value2, "pmUn");
            return (Criteria) this;
        }

        public Criteria andPmPwdIsNull() {
            addCriterion("pm_pwd is null");
            return (Criteria) this;
        }

        public Criteria andPmPwdIsNotNull() {
            addCriterion("pm_pwd is not null");
            return (Criteria) this;
        }

        public Criteria andPmPwdEqualTo(String value) {
            addCriterion("pm_pwd =", value, "pmPwd");
            return (Criteria) this;
        }

        public Criteria andPmPwdNotEqualTo(String value) {
            addCriterion("pm_pwd <>", value, "pmPwd");
            return (Criteria) this;
        }

        public Criteria andPmPwdGreaterThan(String value) {
            addCriterion("pm_pwd >", value, "pmPwd");
            return (Criteria) this;
        }

        public Criteria andPmPwdGreaterThanOrEqualTo(String value) {
            addCriterion("pm_pwd >=", value, "pmPwd");
            return (Criteria) this;
        }

        public Criteria andPmPwdLessThan(String value) {
            addCriterion("pm_pwd <", value, "pmPwd");
            return (Criteria) this;
        }

        public Criteria andPmPwdLessThanOrEqualTo(String value) {
            addCriterion("pm_pwd <=", value, "pmPwd");
            return (Criteria) this;
        }

        public Criteria andPmPwdLike(String value) {
            addCriterion("pm_pwd like", value, "pmPwd");
            return (Criteria) this;
        }

        public Criteria andPmPwdNotLike(String value) {
            addCriterion("pm_pwd not like", value, "pmPwd");
            return (Criteria) this;
        }

        public Criteria andPmPwdIn(List<String> values) {
            addCriterion("pm_pwd in", values, "pmPwd");
            return (Criteria) this;
        }

        public Criteria andPmPwdNotIn(List<String> values) {
            addCriterion("pm_pwd not in", values, "pmPwd");
            return (Criteria) this;
        }

        public Criteria andPmPwdBetween(String value1, String value2) {
            addCriterion("pm_pwd between", value1, value2, "pmPwd");
            return (Criteria) this;
        }

        public Criteria andPmPwdNotBetween(String value1, String value2) {
            addCriterion("pm_pwd not between", value1, value2, "pmPwd");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(String value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(String value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(String value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(String value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(String value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(String value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLike(String value) {
            addCriterion("sex like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotLike(String value) {
            addCriterion("sex not like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<String> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<String> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(String value1, String value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(String value1, String value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andTelnumIsNull() {
            addCriterion("telnum is null");
            return (Criteria) this;
        }

        public Criteria andTelnumIsNotNull() {
            addCriterion("telnum is not null");
            return (Criteria) this;
        }

        public Criteria andTelnumEqualTo(String value) {
            addCriterion("telnum =", value, "telnum");
            return (Criteria) this;
        }

        public Criteria andTelnumNotEqualTo(String value) {
            addCriterion("telnum <>", value, "telnum");
            return (Criteria) this;
        }

        public Criteria andTelnumGreaterThan(String value) {
            addCriterion("telnum >", value, "telnum");
            return (Criteria) this;
        }

        public Criteria andTelnumGreaterThanOrEqualTo(String value) {
            addCriterion("telnum >=", value, "telnum");
            return (Criteria) this;
        }

        public Criteria andTelnumLessThan(String value) {
            addCriterion("telnum <", value, "telnum");
            return (Criteria) this;
        }

        public Criteria andTelnumLessThanOrEqualTo(String value) {
            addCriterion("telnum <=", value, "telnum");
            return (Criteria) this;
        }

        public Criteria andTelnumLike(String value) {
            addCriterion("telnum like", value, "telnum");
            return (Criteria) this;
        }

        public Criteria andTelnumNotLike(String value) {
            addCriterion("telnum not like", value, "telnum");
            return (Criteria) this;
        }

        public Criteria andTelnumIn(List<String> values) {
            addCriterion("telnum in", values, "telnum");
            return (Criteria) this;
        }

        public Criteria andTelnumNotIn(List<String> values) {
            addCriterion("telnum not in", values, "telnum");
            return (Criteria) this;
        }

        public Criteria andTelnumBetween(String value1, String value2) {
            addCriterion("telnum between", value1, value2, "telnum");
            return (Criteria) this;
        }

        public Criteria andTelnumNotBetween(String value1, String value2) {
            addCriterion("telnum not between", value1, value2, "telnum");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andPmCreatetimeIsNull() {
            addCriterion("pm_createTime is null");
            return (Criteria) this;
        }

        public Criteria andPmCreatetimeIsNotNull() {
            addCriterion("pm_createTime is not null");
            return (Criteria) this;
        }

        public Criteria andPmCreatetimeEqualTo(Date value) {
            addCriterion("pm_createTime =", value, "pmCreatetime");
            return (Criteria) this;
        }

        public Criteria andPmCreatetimeNotEqualTo(Date value) {
            addCriterion("pm_createTime <>", value, "pmCreatetime");
            return (Criteria) this;
        }

        public Criteria andPmCreatetimeGreaterThan(Date value) {
            addCriterion("pm_createTime >", value, "pmCreatetime");
            return (Criteria) this;
        }

        public Criteria andPmCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("pm_createTime >=", value, "pmCreatetime");
            return (Criteria) this;
        }

        public Criteria andPmCreatetimeLessThan(Date value) {
            addCriterion("pm_createTime <", value, "pmCreatetime");
            return (Criteria) this;
        }

        public Criteria andPmCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("pm_createTime <=", value, "pmCreatetime");
            return (Criteria) this;
        }

        public Criteria andPmCreatetimeIn(List<Date> values) {
            addCriterion("pm_createTime in", values, "pmCreatetime");
            return (Criteria) this;
        }

        public Criteria andPmCreatetimeNotIn(List<Date> values) {
            addCriterion("pm_createTime not in", values, "pmCreatetime");
            return (Criteria) this;
        }

        public Criteria andPmCreatetimeBetween(Date value1, Date value2) {
            addCriterion("pm_createTime between", value1, value2, "pmCreatetime");
            return (Criteria) this;
        }

        public Criteria andPmCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("pm_createTime not between", value1, value2, "pmCreatetime");
            return (Criteria) this;
        }

        public Criteria andPmLastloginIsNull() {
            addCriterion("pm_lastLogin is null");
            return (Criteria) this;
        }

        public Criteria andPmLastloginIsNotNull() {
            addCriterion("pm_lastLogin is not null");
            return (Criteria) this;
        }

        public Criteria andPmLastloginEqualTo(Date value) {
            addCriterion("pm_lastLogin =", value, "pmLastlogin");
            return (Criteria) this;
        }

        public Criteria andPmLastloginNotEqualTo(Date value) {
            addCriterion("pm_lastLogin <>", value, "pmLastlogin");
            return (Criteria) this;
        }

        public Criteria andPmLastloginGreaterThan(Date value) {
            addCriterion("pm_lastLogin >", value, "pmLastlogin");
            return (Criteria) this;
        }

        public Criteria andPmLastloginGreaterThanOrEqualTo(Date value) {
            addCriterion("pm_lastLogin >=", value, "pmLastlogin");
            return (Criteria) this;
        }

        public Criteria andPmLastloginLessThan(Date value) {
            addCriterion("pm_lastLogin <", value, "pmLastlogin");
            return (Criteria) this;
        }

        public Criteria andPmLastloginLessThanOrEqualTo(Date value) {
            addCriterion("pm_lastLogin <=", value, "pmLastlogin");
            return (Criteria) this;
        }

        public Criteria andPmLastloginIn(List<Date> values) {
            addCriterion("pm_lastLogin in", values, "pmLastlogin");
            return (Criteria) this;
        }

        public Criteria andPmLastloginNotIn(List<Date> values) {
            addCriterion("pm_lastLogin not in", values, "pmLastlogin");
            return (Criteria) this;
        }

        public Criteria andPmLastloginBetween(Date value1, Date value2) {
            addCriterion("pm_lastLogin between", value1, value2, "pmLastlogin");
            return (Criteria) this;
        }

        public Criteria andPmLastloginNotBetween(Date value1, Date value2) {
            addCriterion("pm_lastLogin not between", value1, value2, "pmLastlogin");
            return (Criteria) this;
        }

        public Criteria andPmAreaIsNull() {
            addCriterion("pm_area is null");
            return (Criteria) this;
        }

        public Criteria andPmAreaIsNotNull() {
            addCriterion("pm_area is not null");
            return (Criteria) this;
        }

        public Criteria andPmAreaEqualTo(String value) {
            addCriterion("pm_area =", value, "pmArea");
            return (Criteria) this;
        }

        public Criteria andPmAreaNotEqualTo(String value) {
            addCriterion("pm_area <>", value, "pmArea");
            return (Criteria) this;
        }

        public Criteria andPmAreaGreaterThan(String value) {
            addCriterion("pm_area >", value, "pmArea");
            return (Criteria) this;
        }

        public Criteria andPmAreaGreaterThanOrEqualTo(String value) {
            addCriterion("pm_area >=", value, "pmArea");
            return (Criteria) this;
        }

        public Criteria andPmAreaLessThan(String value) {
            addCriterion("pm_area <", value, "pmArea");
            return (Criteria) this;
        }

        public Criteria andPmAreaLessThanOrEqualTo(String value) {
            addCriterion("pm_area <=", value, "pmArea");
            return (Criteria) this;
        }

        public Criteria andPmAreaLike(String value) {
            addCriterion("pm_area like", value, "pmArea");
            return (Criteria) this;
        }

        public Criteria andPmAreaNotLike(String value) {
            addCriterion("pm_area not like", value, "pmArea");
            return (Criteria) this;
        }

        public Criteria andPmAreaIn(List<String> values) {
            addCriterion("pm_area in", values, "pmArea");
            return (Criteria) this;
        }

        public Criteria andPmAreaNotIn(List<String> values) {
            addCriterion("pm_area not in", values, "pmArea");
            return (Criteria) this;
        }

        public Criteria andPmAreaBetween(String value1, String value2) {
            addCriterion("pm_area between", value1, value2, "pmArea");
            return (Criteria) this;
        }

        public Criteria andPmAreaNotBetween(String value1, String value2) {
            addCriterion("pm_area not between", value1, value2, "pmArea");
            return (Criteria) this;
        }

        public Criteria andPmIconIsNull() {
            addCriterion("pm_icon is null");
            return (Criteria) this;
        }

        public Criteria andPmIconIsNotNull() {
            addCriterion("pm_icon is not null");
            return (Criteria) this;
        }

        public Criteria andPmIconEqualTo(String value) {
            addCriterion("pm_icon =", value, "pmIcon");
            return (Criteria) this;
        }

        public Criteria andPmIconNotEqualTo(String value) {
            addCriterion("pm_icon <>", value, "pmIcon");
            return (Criteria) this;
        }

        public Criteria andPmIconGreaterThan(String value) {
            addCriterion("pm_icon >", value, "pmIcon");
            return (Criteria) this;
        }

        public Criteria andPmIconGreaterThanOrEqualTo(String value) {
            addCriterion("pm_icon >=", value, "pmIcon");
            return (Criteria) this;
        }

        public Criteria andPmIconLessThan(String value) {
            addCriterion("pm_icon <", value, "pmIcon");
            return (Criteria) this;
        }

        public Criteria andPmIconLessThanOrEqualTo(String value) {
            addCriterion("pm_icon <=", value, "pmIcon");
            return (Criteria) this;
        }

        public Criteria andPmIconLike(String value) {
            addCriterion("pm_icon like", value, "pmIcon");
            return (Criteria) this;
        }

        public Criteria andPmIconNotLike(String value) {
            addCriterion("pm_icon not like", value, "pmIcon");
            return (Criteria) this;
        }

        public Criteria andPmIconIn(List<String> values) {
            addCriterion("pm_icon in", values, "pmIcon");
            return (Criteria) this;
        }

        public Criteria andPmIconNotIn(List<String> values) {
            addCriterion("pm_icon not in", values, "pmIcon");
            return (Criteria) this;
        }

        public Criteria andPmIconBetween(String value1, String value2) {
            addCriterion("pm_icon between", value1, value2, "pmIcon");
            return (Criteria) this;
        }

        public Criteria andPmIconNotBetween(String value1, String value2) {
            addCriterion("pm_icon not between", value1, value2, "pmIcon");
            return (Criteria) this;
        }

        public Criteria andPmStatusIsNull() {
            addCriterion("pm_status is null");
            return (Criteria) this;
        }

        public Criteria andPmStatusIsNotNull() {
            addCriterion("pm_status is not null");
            return (Criteria) this;
        }

        public Criteria andPmStatusEqualTo(String value) {
            addCriterion("pm_status =", value, "pmStatus");
            return (Criteria) this;
        }

        public Criteria andPmStatusNotEqualTo(String value) {
            addCriterion("pm_status <>", value, "pmStatus");
            return (Criteria) this;
        }

        public Criteria andPmStatusGreaterThan(String value) {
            addCriterion("pm_status >", value, "pmStatus");
            return (Criteria) this;
        }

        public Criteria andPmStatusGreaterThanOrEqualTo(String value) {
            addCriterion("pm_status >=", value, "pmStatus");
            return (Criteria) this;
        }

        public Criteria andPmStatusLessThan(String value) {
            addCriterion("pm_status <", value, "pmStatus");
            return (Criteria) this;
        }

        public Criteria andPmStatusLessThanOrEqualTo(String value) {
            addCriterion("pm_status <=", value, "pmStatus");
            return (Criteria) this;
        }

        public Criteria andPmStatusLike(String value) {
            addCriterion("pm_status like", value, "pmStatus");
            return (Criteria) this;
        }

        public Criteria andPmStatusNotLike(String value) {
            addCriterion("pm_status not like", value, "pmStatus");
            return (Criteria) this;
        }

        public Criteria andPmStatusIn(List<String> values) {
            addCriterion("pm_status in", values, "pmStatus");
            return (Criteria) this;
        }

        public Criteria andPmStatusNotIn(List<String> values) {
            addCriterion("pm_status not in", values, "pmStatus");
            return (Criteria) this;
        }

        public Criteria andPmStatusBetween(String value1, String value2) {
            addCriterion("pm_status between", value1, value2, "pmStatus");
            return (Criteria) this;
        }

        public Criteria andPmStatusNotBetween(String value1, String value2) {
            addCriterion("pm_status not between", value1, value2, "pmStatus");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}